<?php
namespace EM\NewsBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
class SourceType extends AbstractType
{
    public function buildForm(FormBuilderInterface $builder, array $options)
    {
        $builder->add('name', 'text', array('attr' => array('class' => 'validate[required,maxSize[200]]', 'placeholder' => 'Name goes here') ))
                ->add('domain', 'text', array('attr' => array('class' => 'validate[required,maxSize[250]]', 'placeholder' => 'Domain goes here') ))
                ->add('description','textarea', array('attr' => array('class' => 'validate[required,maxSize[250]]', 'placeholder' => 'description goes here') ));
               
				
		
    }
    public function getName()
    {
        return 'source_form';
    }
	
}

